package com.example.demo.Vo;

import com.example.demo.Entity.Question;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class QuestionAndScore {
    private Question question;
    private double score;
    private List<Question> simlist;
    public QuestionAndScore(Question question, double score) {
        this.question = question;
        this.score = score;
        simlist=new ArrayList<>();
    }
    public void append(Question question){
        this.simlist.add(question);
    }
}
